package com.copm.ifm.servers.sys.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.copm.ifm.base.api.pojo.BasePO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

/**
 * 品牌表
 *
 * @author zzf
 * @since 2020-12-14
 */
@Getter
@Setter
@ToString
@TableName("sys_brand")
@ApiModel("品牌表")
public class SysBrand extends BasePO {

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty("类型 1设备 2物料")
    private Integer type;

    @ApiModelProperty("名称")
    private String name;

    @ApiModelProperty("启用状态 [0禁用 1启用]")
    private Integer enabled;

}
